/*
 * @Author: heinan
 * @Date: 2023-07-30 23:03:33
 * @Last Modified by: heinan
 * @Last Modified time: 2023-08-09 17:37:31
 */
"use strict";

module.exports = {
  userLogin: {
    username: {
      type: "string",
      require: true,
      description: "用户名",
    },
    password: {
      type: "string",
      require: true,
      description: "用户密码",
    },
    captcha: {
      type: "string",
      require: true,
      description: "验证码",
    },
  },
  userRegistry: {
    username: {
      type: "string",
      require: true,
      description: "用户名",
    },
    password: {
      type: "string",
      require: true,
      description: "用户密码",
    },
  },
  userCreate: {
    id: {
      type: "string",
      require: true,
      description: "用户id",
    },
    nickname: {
      type: "string",
      require: true,
      description: "用户名",
    },
    username: {
      type: "string",
      require: true,
      description: "用户密码",
    },
    mobile: {
      type: "string",
      require: true,
      description: "用户密码",
    },
    email: {
      type: "string",
      require: true,
      description: "用户密码",
    },
    avatar: {
      type: "string",
      require: true,
      description: "用户密码",
    },
  },
  userUpdate: {
    nickname: {
      type: "string",
      require: true,
      description: "用户名",
    },
    mobile: {
      type: "string",
      require: true,
      description: "用户密码",
    },
    email: {
      type: "string",
      require: true,
      description: "用户密码",
    },
    avatar: {
      type: "string",
      require: true,
      description: "用户密码",
    },
  },
  forgot: {
    email: {
      type: "string",
      require: true,
      description: "用户邮箱",
    },
    id: {
      type: "string",
      require: false,
      description: "用户id",
    },
    subject: {
      type: "string",
      require: false,
      description: "邮件主题",
    },
    text: {
      type: "string",
      require: false,
      description: "邮件正文",
    },
    html: {
      type: "string",
      require: false,
      description: "邮件正文-html",
    },
  },
};
